{
  "exec-opts": ["native.cgroupdriver=systemd"],
  "registry-mirrors": ["{{ REG_MIRROR_1 }}", "{{ REG_MIRROR_2 }}"], 
  "max-concurrent-downloads": 10,
  "log-driver": "{{ LOG_DRIVER }}",
  "log-level": "{{ LOG_LEVEL }}",
  "log-opts": {
    "max-size": "{{ LOG_MAX_SIZE }}",
    "max-file": "{{ LOG_MAX_FILE }}"
    },
  "data-root": "{{ STORAGE_DIR }}",
  "storage-driver": "overlay2",
  "storage-opts": [
    "overlay2.override_kernel_check=true"
  ]
  {% if ENABLE_REMOTE_API %}
  , "hosts": ["tcp://0.0.0.0:2376", "unix:///var/run/docker.sock"]
  {% endif %}

}
